<?php
/**
 * @Descripttion:
 * @author Siebe
 * @date 2022-02-18 1:09
 */

namespace app\admin\validate;


class IDMustBePositiveInt extends BaseValidate
{
    protected $rule = [
        'id'=>'require|isPositiveInteger'
    ];
    protected $message = [
        'id' => 'id必须是正整数'
    ];
    protected $scene = [
        'check' => ['id']
    ];
}